/**
 * 
 */
package com.woniuxy.amusementparkos.permission.Service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.woniuxy.amusementparkos.dao.fzw.DepartmentDao;
import com.woniuxy.amusementparkos.entity.fzw.Department;
import com.woniuxy.amusementparkos.permission.Service.DepartmentService;

/**
 *
 * @author fzw
 *
 * 2020年4月29日上午4:27:49
 */
@Service
public class DepartmentServiceImp implements DepartmentService {
	//自动注入
	@Autowired
	DepartmentDao departmentDao;
	/**
	 * 无条件查询所有部门
	 */
	@Override
	public List<Department> selectAllDepartment() throws RuntimeException {
		return departmentDao.selectAllDepartment();
	}

}
